<?php
namespace Common\Model;


class KeywordModel extends BaseModel {
    protected $pk = 'rid';
    protected $tableName = 'keyword';
    protected $_validate = [
        [ 'keyword', 'require', '关键词不能为空', 1 ],
        [ 'keyword', '', '关键词已经存在！', 0, 'unique', 1 ],
        [ 'module', 'require', '模块标识不能为空', 1 ]
    ];
}